package com.ay201.oa.entity.doc;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**公文类型实体类
 * @author Administrator
 *
 */
public class DocType implements Serializable {
	/**
	 * 公文类型编号
	 */
	private int docTypeId;
	/**
	 * 公文类型名称
	 */
	private String docTypeName;
	/**
	 * 属于此类型的公文
	 */
	private Set document=new HashSet();
	public int getDocTypeId() {
		return docTypeId;
	}
	public void setDocTypeId(int docTypeId) {
		this.docTypeId = docTypeId;
	}
	public String getDocTypeName() {
		return docTypeName;
	}
	public void setDocTypeName(String docTypeName) {
		this.docTypeName = docTypeName;
	}
	public Set getDocument() {
		return document;
	}
	public void setDocument(Set document) {
		this.document = document;
	}
	public DocType() {
		// TODO Auto-generated constructor stub
	}
	public DocType(int docTypeId, String docTypeName, Set document) {
		super();
		this.docTypeId = docTypeId;
		this.docTypeName = docTypeName;
		this.document = document;
	}
	public DocType(String docTypeName, Set document) {
		super();
		this.docTypeName = docTypeName;
		this.document = document;
	}
	

}
